"use strict";

var winston = require('winston'),
    C = require('../common'),
    logger = require('./logger');

module.exports = {

    type: 'init',

    load: function (owner, config, cb) {
        owner.logger = new (winston.Logger)(logger.processTransports(config));

        cb();
    }
};


